package com.zxing.spring.provider.controller;

import com.zxing.spring.provider.service.HiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {

    @Autowired
    private HiService hiService;

    @GetMapping("/get")
    public String get(){
        return hiService.thing();
    }
}